package com.ruoyi.business.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 租赁台账对象 ac_lease_info
 *
 * @author ruoyi
 * @date 2025-02-18
 */
public class AcLeaseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 租赁id */
    private Long leaseId;

    /** 租赁客户id */
    @Excel(name = "租赁客户id")
    private Long leaseCustomerId;

    /** 合同id */
    @Excel(name = "合同code")
    private String leaseContractCode;

    /** 租赁资产id */
    @Excel(name = "租赁资产id")
    private Long leaseAssetId;

    @Excel(name = "租赁资产id")
    private String leaseAssetCode;


    /** 租赁编号 */
    @Excel(name = "租赁编号")
    private String leaseCode;

    /** 租赁房产名称 */
    @Excel(name = "租赁房产名称")
    private String leaseAssetName;

    /** 租赁客户名称 */
    @Excel(name = "租赁客户名称")
    private String leaseCustomerName;

    /** 租赁开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "租赁开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leaseStartDate;

    /** 租赁结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "租赁结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leaseEndDate;

    /** 租金 */
    @Excel(name = "租金")
    private BigDecimal leaseRent;

    /** 租赁备注 */
    @Excel(name = "租赁备注")
    private String leaseRemark;

    /** 租赁照片 */
    @Excel(name = "租赁照片")
    private String leaseImg;

    /** 租赁状态0：在租1：到期 */
    @Excel(name = "租赁状态0：在租1：到期")
    private String leaseStatus;

    /** 租赁历史标记，1：为历史租赁标记，历史租赁信息，该字段不确定是否需要 */
    @Excel(name = "租赁历史标记，1：为历史租赁标记，历史租赁信息，该字段不确定是否需要")
    private String leasePastRecord;

    /** 租赁信息入库日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "租赁信息入库日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leaseDate;

    /** 租赁删除标识0：正常1：删除 */
    @Excel(name = "租赁删除标识0：正常1：删除")
    private Integer leaseIsDelete;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    private String customerName;

    private String assetName;

    private String assetArea;

    private String payStatus;


/*
* vo*/

    private String contractCode;
    private String contractType;
    private String payfAmount;
    private String contractPaymentType;
    private String customerCode;
    private String customerLinkman;
    private String customerPhone1;
    private String contractRemark;
    private String contractUrl;
    private String contractStartDate;
    private String contractEndDate;
    private String contractSigningDate;
    private String assetNumMaster;

    private String assetAddress;
    private String assetDoorNum;
    private String assetHouseType;
    private String assetOriginalValue;
    private String assetEstablishDate;
    private String assetOwnershipLength;
    private String assetPropertyUnit;
    private String assetRemark;
    private String assetImg;

    private String contractRent;

    private String contractCashPledge;


    private String assetNumAttached;

    private String customerLeaseStatus;

    private String customerLeaseCount;

    private String commonNum;

    public String getCommonNum() {
        return commonNum;
    }

    public void setCommonNum(String commonNum) {
        this.commonNum = commonNum;
    }

    public String getCustomerLeaseStatus() {
        return customerLeaseStatus;
    }

    public void setCustomerLeaseStatus(String customerLeaseStatus) {
        this.customerLeaseStatus = customerLeaseStatus;
    }

    public String getCustomerLeaseCount() {
        return customerLeaseCount;
    }

    public void setCustomerLeaseCount(String customerLeaseCount) {
        this.customerLeaseCount = customerLeaseCount;
    }

    public String getAssetNumAttached() {
        return assetNumAttached;
    }

    public void setAssetNumAttached(String assetNumAttached) {
        this.assetNumAttached = assetNumAttached;
    }

    public String getContractRent() {
        return contractRent;
    }

    public void setContractRent(String contractRent) {
        this.contractRent = contractRent;
    }

    public String getContractCashPledge() {
        return contractCashPledge;
    }

    public void setContractCashPledge(String contractCashPledge) {
        this.contractCashPledge = contractCashPledge;
    }

    public String getContractCode() {
        return contractCode;
    }

    public void setContractCode(String contractCode) {
        this.contractCode = contractCode;
    }

    public String getContractType() {
        return contractType;
    }

    public void setContractType(String contractType) {
        this.contractType = contractType;
    }

    public String getPayfAmount() {
        return payfAmount;
    }

    public void setPayfAmount(String payfAmount) {
        this.payfAmount = payfAmount;
    }

    public String getContractPaymentType() {
        return contractPaymentType;
    }

    public void setContractPaymentType(String contractPaymentType) {
        this.contractPaymentType = contractPaymentType;
    }

    public String getCustomerCode() {
        return customerCode;
    }

    public void setCustomerCode(String customerCode) {
        this.customerCode = customerCode;
    }

    public String getCustomerLinkman() {
        return customerLinkman;
    }

    public void setCustomerLinkman(String customerLinkman) {
        this.customerLinkman = customerLinkman;
    }

    public String getCustomerPhone1() {
        return customerPhone1;
    }

    public void setCustomerPhone1(String customerPhone1) {
        this.customerPhone1 = customerPhone1;
    }

    public String getContractRemark() {
        return contractRemark;
    }

    public void setContractRemark(String contractRemark) {
        this.contractRemark = contractRemark;
    }

    public String getContractUrl() {
        return contractUrl;
    }

    public void setContractUrl(String contractUrl) {
        this.contractUrl = contractUrl;
    }

    public String getContractStartDate() {
        return contractStartDate;
    }

    public void setContractStartDate(String contractStartDate) {
        this.contractStartDate = contractStartDate;
    }

    public String getContractEndDate() {
        return contractEndDate;
    }

    public void setContractEndDate(String contractEndDate) {
        this.contractEndDate = contractEndDate;
    }

    public String getContractSigningDate() {
        return contractSigningDate;
    }

    public void setContractSigningDate(String contractSigningDate) {
        this.contractSigningDate = contractSigningDate;
    }

    public String getAssetNumMaster() {
        return assetNumMaster;
    }

    public void setAssetNumMaster(String assetNumMaster) {
        this.assetNumMaster = assetNumMaster;
    }

    public String getAssetAddress() {
        return assetAddress;
    }

    public void setAssetAddress(String assetAddress) {
        this.assetAddress = assetAddress;
    }

    public String getAssetDoorNum() {
        return assetDoorNum;
    }

    public void setAssetDoorNum(String assetDoorNum) {
        this.assetDoorNum = assetDoorNum;
    }

    public String getAssetHouseType() {
        return assetHouseType;
    }

    public void setAssetHouseType(String assetHouseType) {
        this.assetHouseType = assetHouseType;
    }

    public String getAssetOriginalValue() {
        return assetOriginalValue;
    }

    public void setAssetOriginalValue(String assetOriginalValue) {
        this.assetOriginalValue = assetOriginalValue;
    }

    public String getAssetEstablishDate() {
        return assetEstablishDate;
    }

    public void setAssetEstablishDate(String assetEstablishDate) {
        this.assetEstablishDate = assetEstablishDate;
    }

    public String getAssetOwnershipLength() {
        return assetOwnershipLength;
    }

    public void setAssetOwnershipLength(String assetOwnershipLength) {
        this.assetOwnershipLength = assetOwnershipLength;
    }

    public String getAssetPropertyUnit() {
        return assetPropertyUnit;
    }

    public void setAssetPropertyUnit(String assetPropertyUnit) {
        this.assetPropertyUnit = assetPropertyUnit;
    }

    public String getAssetRemark() {
        return assetRemark;
    }

    public void setAssetRemark(String assetRemark) {
        this.assetRemark = assetRemark;
    }

    public String getAssetImg() {
        return assetImg;
    }

    public void setAssetImg(String assetImg) {
        this.assetImg = assetImg;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getAssetName() {
        return assetName;
    }

    public void setAssetName(String assetName) {
        this.assetName = assetName;
    }

    public String getAssetArea() {
        return assetArea;
    }

    public void setAssetArea(String assetArea) {
        this.assetArea = assetArea;
    }

    public String getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }

    public String getLeaseAssetCode() {
        return leaseAssetCode;
    }

    public void setLeaseAssetCode(String leaseAssetCode) {
        this.leaseAssetCode = leaseAssetCode;
    }

    public String getLeaseContractCode() {
        return leaseContractCode;
    }

    public void setLeaseContractCode(String leaseContractCode) {
        this.leaseContractCode = leaseContractCode;
    }

    public void setLeaseId(Long leaseId)
    {
        this.leaseId = leaseId;
    }

    public Long getLeaseId()
    {
        return leaseId;
    }
    public void setLeaseCustomerId(Long leaseCustomerId)
    {
        this.leaseCustomerId = leaseCustomerId;
    }

    public Long getLeaseCustomerId()
    {
        return leaseCustomerId;
    }
    public void setLeaseAssetId(Long leaseAssetId)
    {
        this.leaseAssetId = leaseAssetId;
    }

    public Long getLeaseAssetId()
    {
        return leaseAssetId;
    }
    public void setLeaseCode(String leaseCode)
    {
        this.leaseCode = leaseCode;
    }

    public String getLeaseCode()
    {
        return leaseCode;
    }
    public void setLeaseAssetName(String leaseAssetName)
    {
        this.leaseAssetName = leaseAssetName;
    }

    public String getLeaseAssetName()
    {
        return leaseAssetName;
    }
    public void setLeaseCustomerName(String leaseCustomerName)
    {
        this.leaseCustomerName = leaseCustomerName;
    }

    public String getLeaseCustomerName()
    {
        return leaseCustomerName;
    }
    public void setLeaseStartDate(Date leaseStartDate)
    {
        this.leaseStartDate = leaseStartDate;
    }

    public Date getLeaseStartDate()
    {
        return leaseStartDate;
    }
    public void setLeaseEndDate(Date leaseEndDate)
    {
        this.leaseEndDate = leaseEndDate;
    }

    public Date getLeaseEndDate()
    {
        return leaseEndDate;
    }
    public void setLeaseRent(BigDecimal leaseRent)
    {
        this.leaseRent = leaseRent;
    }

    public BigDecimal getLeaseRent()
    {
        return leaseRent;
    }
    public void setLeaseRemark(String leaseRemark)
    {
        this.leaseRemark = leaseRemark;
    }

    public String getLeaseRemark()
    {
        return leaseRemark;
    }
    public void setLeaseImg(String leaseImg)
    {
        this.leaseImg = leaseImg;
    }

    public String getLeaseImg()
    {
        return leaseImg;
    }
    public void setLeaseStatus(String leaseStatus)
    {
        this.leaseStatus = leaseStatus;
    }

    public String getLeaseStatus()
    {
        return leaseStatus;
    }
    public void setLeasePastRecord(String leasePastRecord)
    {
        this.leasePastRecord = leasePastRecord;
    }

    public String getLeasePastRecord()
    {
        return leasePastRecord;
    }
    public void setLeaseDate(Date leaseDate)
    {
        this.leaseDate = leaseDate;
    }

    public Date getLeaseDate()
    {
        return leaseDate;
    }
    public void setLeaseIsDelete(Integer leaseIsDelete)
    {
        this.leaseIsDelete = leaseIsDelete;
    }

    public Integer getLeaseIsDelete()
    {
        return leaseIsDelete;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("leaseId", getLeaseId())
                .append("leaseCustomerId", getLeaseCustomerId())
                .append("leaseAssetId", getLeaseAssetId())
                .append("leaseCode", getLeaseCode())
                .append("leaseAssetName", getLeaseAssetName())
                .append("leaseCustomerName", getLeaseCustomerName())
                .append("leaseStartDate", getLeaseStartDate())
                .append("leaseEndDate", getLeaseEndDate())
                .append("leaseRent", getLeaseRent())
                .append("leaseRemark", getLeaseRemark())
                .append("leaseImg", getLeaseImg())
                .append("leaseStatus", getLeaseStatus())
                .append("leasePastRecord", getLeasePastRecord())
                .append("leaseDate", getLeaseDate())
                .append("leaseIsDelete", getLeaseIsDelete())
                .append("delFlag", getDelFlag())
                .append("deptId", getDeptId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
